/**
 * Copyright 2018-2020 Streamlit Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

/* IMPORTANT: Always use a relative path for building of static assets! */
$material-font-path: "../fonts/MaterialIcons/" !default;

@font-face {
  font-family: "Material Icons";
  font-style: normal;
  font-weight: normal;
  src: local("Material Icons"), local("MaterialIcons-Regular"),
    url("#{$material-font-path}MaterialIcons-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Material Icons Outlined";
  src: url("#{$material-font-path}MaterialIcons-Outlined.woff2")
    format("woff2");
  font-weight: normal;
  font-style: normal;
}

.material-icons {
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  font-size: 1.25rem;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;

  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;

  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;

  /* Support for IE. */
  font-feature-settings: "liga";
}

.material-outlined-icons {
  @extend .material-icons;
  font-family: "Material Icons Outlined";
}

@import "icons";
